package com.ranjiaqi.file;

import java.io.File;

/**
 * @ClassName TestGetPath
 * @Description TODO
 * @Author hp
 * @Date 2021/7/1 9:41
 * @Version 1.0
 **/
public class TestGetPath {
    public static void main(String[] args) {
        File file = new File("F:/java/day_01");
        String path = file.getPath();
        System.out.println(path);
        System.out.println(file.toString());
    }
}
